package com.kgcx.organization.domain;

import com.kgcx.dbutils.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;

/**
 * 驾驶员移动终端
 *
 * @author qinze
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_organization_driver_mobile_terminal")
@ApiModel(value = "驾驶员移动终端")
public class DriverMobileTerminal extends BaseDomain {

    /**
     * 机动车驾驶证号
     */
    @ApiModelProperty(example = "ZXBUUANNQ99912")
    private String licenseId;

    @ApiModelProperty(value = "注册地行政区划代码", required = true, example = "ZXBUUANNQ99912")
    private String address;
    /**
     * 驾驶员手机号
     */
    @ApiModelProperty(example = "158585851234")
    private String driverPhone;
    /**
     * 手机运营商
     */
    @ApiModelProperty(example = "1中国联通 2中国移动 3中国电信 4其他")
    private Integer netType;
    /**
     * app版本号
     */
    @ApiModelProperty(example = "1.0.1")
    private String appVersion;
    /**
     * 地图类型
     */
    @ApiModelProperty(example = "1百度地图 2高德地图 3其他")
    private Integer mapType;
    /**
     * 状态：0=有效，1=失效
     */
    @ApiModelProperty(example = "0")
    private Integer state;

}